<?php

class BEquity extends BaseModel
{
    protected $res;
    protected $key = "f_b_equity";

    public function getSource()
    {
        return "f_b_equity";
    }

    public function initialize()
    {
        parent::initialize();
    }

    public function equity_count($condition = '1=1')
    {
        $count = $this::count(
            array(
                $condition,
                "columns" => 'id',
            ));

        return $count;
    }
}
